<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>   
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"   %> 
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/style.css"  type="text/css"></link>
<title>Search Forms</title>
</head>
<body>

<h1>NEW</h1>


<form:form commandName="entryForm" method="post">
			
	<div id="logform">
	
			<form:label path="date">Datum:</form:label>
			<div class="formfield">
				<form:input path="date"/>
				<form:errors path="date" cssClass="error"/>
			</div>
			
			<form:label path="location">Locatie</form:label>
			<div class="formfield">
				<form:input path="location"/>
				<form:errors path="location" cssClass="error"/>
			</div>
			
			<form:label path="description">Omschrijving</form:label>
			<div class="formfield">
				<form:input path="description"/>
				<form:errors path="description" cssClass="error"/>
			</div>
			
			<form:label path="zoneSelect">TrainingsZone</form:label>
			<div class="formfield">
				<form:input path="zoneSelect"/>
				<form:errors path="zoneSelect" cssClass="error"/>
			</div>
			
			<form:label path="bikeSelect">Fiets</form:label>
			<div class="formfield">
				<form:input path="bikeSelect"/>
				<form:errors path="bikeSelect" cssClass="error"/>
			</div>
			
			<form:label path="surfaceSelect">Ondergrond</form:label>
			<div class="formfield">
				<form:input path="surfaceSelect"/>
				<form:errors path="surfaceSelect" cssClass="error"/>
			</div>
			
			<form:label path="distance">Afstand</form:label>
			<div class="formfield">
				<form:input path="distance"/>
				<form:errors path="distance" cssClass="error"/>
			</div>

			<form:label path="avgSpeed">Gemiddelde snelheid</form:label>
			<div class="formfield">
				<form:input path="avgSpeed"/>
				<form:errors path="avgSpeed" cssClass="error"/>
			</div>

			<form:label path="maxSpeed">Maximale snelheid</form:label>
			<div class="formfield">
				<form:input path="maxSpeed"/>
				<form:errors path="maxSpeed" cssClass="error"/>
			</div>
			
			<form:label path="duration">Duur</form:label>
			<div class="formfield">
				<form:input path="duration"/>
				<form:errors path="duration" cssClass="error"/>
			</div>
			
			<form:label path="ascension">Stijging</form:label>
			<div class="formfield">
				<form:input path="ascension"/>
				<form:errors path="ascension" cssClass="error"/>
			</div>
			
			<form:label path="recoPercentage">% in Herstel</form:label>
			<div class="formfield">
				<form:input path="recoPercentage"/>
				<form:errors path="recoPercentage" cssClass="error"/>
			</div>
			
			<form:label path="d1Percentage">% in D1</form:label>
			<div class="formfield">
				<form:input path="d1Percentage"/>
				<form:errors path="d1Percentage" cssClass="error"/>
			</div>
			
			<form:label path="d2Percentage">% in D2</form:label>
			<div class="formfield">
				<form:input path="d2Percentage"/>
				<form:errors path="d2Percentage" cssClass="error"/>
			</div>
			
			<form:label path="powerPercentage">% in D3</form:label>
			<div class="formfield">
				<form:input path="powerPercentage"/>
				<form:errors path="powerPercentage" cssClass="error"/>
			</div>
			
			<form:label path="maxPercentage">% in Max</form:label>
			<div class="formfield">
				<form:input path="maxPercentage"/>
				<form:errors path="maxPercentage" cssClass="error"/>
			</div>
						
			<form:label path="comments">Commentaar</form:label>
			<div class="formfield">
				<form:input path="comments"/>
				<form:errors path="comments" cssClass="error"/>
			</div>

	
		<div><input type="submit" value="Opslaan"/></div>
	</div>
		
</form:form>






</body>
</html>